<template>
  <div>
      <h1>博客主页展示</h1>
  </div>
</template>

<script>
export default {
  methods:
  {
    add()
    {
      //修改数据时，通过 $emit() 触发
      this.$emit('numchange', this.count)
    }
  }
}
</script>

<style>

</style>